void postConfig(AliAnalysisTaskIDFFTCF *task){

  // 
  task->SetFFHistoBins(19,5,100,50,-1,2,60,0,6,30,0,1.2); // log pt bins

}

// ----------------------------------------------------------------------------------

AliAnalysisTaskIDFFTCF *AddTask_obusch_IDFFTCF(){

  AliAnalysisTaskIDFFTCF *ff=0;
  
  //gROOT->LoadMacro("./AddTaskIDFFTCF.C");
  gROOT->LoadMacro("$ALICE_ROOT/PWGJE/macros/AddTaskIDFFTCF.C");

  UInt_t filterMask = 272;
  Int_t eventClass=0;        

  //dummping for test
  AliAnalysisTaskIDFFTCF::fkDump = kFALSE; //kTRUE;
  
  //const Int_t tofm[]={1,2,3,4};
  const Int_t tofm[]={3};
  for(Int_t TPCCutMode = 1; TPCCutMode<=1; TPCCutMode++){
    for(Int_t it=0; it<sizeof(tofm)/sizeof(Int_t); it++){
      const Int_t TOFCutMode = tofm[it];

        
      ff = AddTaskIDFFTCF("clustersAOD_ANTIKT","", "clustersAODMC2_ANTIKT", "AODMCb", "AODMC2b", filterMask,0.4,0,150.,TPCCutMode, TOFCutMode,  eventClass,"_Skip00","","_Skip00");
      postConfig(ff);
    
      /*
      // this one for efficiency
      ff = AddTaskIDFFTCF("clustersAOD_ANTIKT","", "clustersAODMC2_ANTIKT", "AODb", "AODMC2b", filterMask,0.4,0,150.,TPCCutMode, TOFCutMode,  eventClass,"_Skip00","","_Skip00");
      postConfig(ff);
      ff->SetEffMode(1);
      */
      if(0){ // OB TEST!!!
        // leading jets 
        ff = AddTaskIDFFTCF("clustersAOD_ANTIKT","", "clustersAODMC2_ANTIKT", "AODMCb", "AODMC2b", filterMask,0.4,0,150.,TPCCutMode, TOFCutMode,  eventClass,"_Skip00","","_Skip00",0.4,-1,0,0,kTRUE);
        postConfig(ff);
        
        // this one for efficiency - leading jets
        ff = AddTaskIDFFTCF("clustersAOD_ANTIKT","", "clustersAODMC2_ANTIKT", "AODb", "AODMC2b", filterMask,0.4,0,150.,TPCCutMode, TOFCutMode,  eventClass,"_Skip00","","_Skip00",0.4,-1,0,0,kTRUE);
        postConfig(ff);
        ff->SetEffMode(1);
      } 
    }
  }
}
